package com.baseframe.system.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baseframe.system.entity.BaseNotice;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baseframe.system.entity.request.BaseNoticeRequest;
import com.baseframe.system.entity.vo.BaseNoticeVO;

import java.util.List;

/**

* @description 针对表【base_notice】的数据库操作Service
* @createDate 2023-06-23 11:21:11
*/
public interface BaseNoticeService extends IService<BaseNotice> {

    boolean addNotice(BaseNoticeRequest request);

    boolean deleteById(Long id);

    Page<BaseNoticeVO> noticePageList(Page<BaseNoticeVO> page, BaseNoticeRequest request);

    List<BaseNoticeVO> getNoticeByNew();
}
